package com.nanhu.test;

import com.nanhu.test.adapter.ArrayAdapterActivity;
import com.nanhu.test.adapter.MyBaseAdapterActivity;
import com.nanhu.test.guesture.Img_control;
import com.nanhu.test.guesture.MultiTouch;
import com.nanhu.test.loader.LoaderCustomSupport;
import com.nanhu.test.media.MediaPlayerTestActivity;
import com.nanhu.test.media.SoundPoolTestActivity;
import com.nanhu.test.pager.PagerOneActivity;
import com.nanhu.test.pop.PopMenuActivity;
import com.nanhu.test.scroll.ScrollViewMenu3Activity;
import com.nanhu.test.scroll.ScrollViewMenuActivity;
import com.nanhu.test.scroll.TestScrollerActivity;
import com.nanhu.test.slide.Chouti;
import com.nanhu.test.slide.MyChouti;
import com.nanhu.test.sms.SmsRead;
import com.nanhu.test.widget.EditCancelActivity;
import com.nanhu.test.widget.ImageBtnWithTextActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MyAndroidTestActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    
    public void pagerTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, PagerOneActivity.class);
    	startActivity(intent);
    }
    
    public void scrollTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, TestScrollerActivity.class);
    	startActivity(intent);
    }
    
    public void widgetTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, ImageBtnWithTextActivity.class);
    	startActivity(intent);
    }
    
    public void widgetEditCancel(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, EditCancelActivity.class);
    	startActivity(intent);
    }
    
    public void widgetTest(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, WidgetOneActivity.class);
    	startActivity(intent);
    }
    
    public void popMenuTest(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, PopMenuActivity.class);
    	startActivity(intent);
    }
    
    public void tentXunNavigationBar(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, ScrollViewMenuActivity.class);
    	startActivity(intent);
    }
    
    public void tentXunNavigationBarV3(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, ScrollViewMenu3Activity.class);
    	startActivity(intent);
    }
    
    public void customViewTextView(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, LabelViewActivity.class);
    	startActivity(intent);
    }
    
    public void canvasTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, CanvasTestActivity.class);
    	startActivity(intent);
    }
    
    public void imageMatrix(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, ImageMatrix.class);
    	startActivity(intent);
    }
    
    public void mediaPlayerTest(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, MediaPlayerTestActivity.class);
    	startActivity(intent);
    }
    
    public void soundPoolTest(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, SoundPoolTestActivity.class);
    	startActivity(intent);
    }
    
    public void slidingDrawerTest(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, Chouti.class);
    	startActivity(intent);
    }
    
    public void myPanelTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, MyChouti.class);
    	startActivity(intent);
    }
    
    public void arrayAdapterTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, ArrayAdapterActivity.class);
    	startActivity(intent);
    }
    
    public void baseAdapterTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, MyBaseAdapterActivity.class);
    	startActivity(intent);
    }
    
    
    public void smsTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, SmsRead.class);
    	startActivity(intent);
    }
    
    public void dashlineEditText(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, DashLineEditTextActivity.class);
    	startActivity(intent);
    }
    
    public void addressBook(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, AddressBookActivity.class);
    	startActivity(intent);
    }
    
    public void customLoaderTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, LoaderCustomSupport.class);
		startActivity(intent);
    }
    
    public void guestureTestOne(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, MultiTouch.class);
		startActivity(intent);
    }
    
    public void guestureTestTwo(View view){
    	Intent intent = new Intent(MyAndroidTestActivity.this, Img_control.class);
		startActivity(intent);
    }
}